package cn.pcManage.shopManage.dao;

import cn.common.shop.dao.BaseFreightTempletMapper;
import cn.common.shop.model.BaseFreightTemplet;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FreightTempletMapper extends BaseFreightTempletMapper {

    List<BaseFreightTemplet> getFreightTempletList(BaseFreightTemplet templet);

    void updatePrice(@Param("ids") List<Integer> ids,
                     @Param("firstPrice") Double firstPrice,
                     @Param("addPrice") Double addPrice);
}